﻿<UserControl x:Class="WpfImageDuplicates.FilterView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="14"/>
            <ColumnDefinition Width="14"/>
            <ColumnDefinition Width="14"/>
            <ColumnDefinition Width="14"/>
        </Grid.ColumnDefinitions>
        <Border Width="Auto" Height="Auto" Margin="1,1,1,1" Padding="1,1,1,1" BorderBrush="Black" BorderThickness="1,1,1,1">
            <TextBlock Text="{Binding Path=FilterType}" FontSize="9"></TextBlock>            
        </Border>
        <Button Grid.Column="1" FontSize="9" x:Name="btnFilterSettings" Content="O" Click="btnFilterSettings_Click"/>
        <Button Grid.Column="2" FontSize="9" x:Name="btnRemoveFilter" Content="X" Click="btnRemoveFilter_Click"/>
        <Button Grid.Column="3" FontSize="9" x:Name="btnMoveLeft" Content="&lt;" Click="btnMoveLeft_Click"/>
        <Button Grid.Column="4" FontSize="9" x:Name="btnMoveRight" Content=">" Click="btnMoveRight_Click"/>
        <ToggleButton Grid.Column="5" FontSize="9" x:Name="btnDisable" Content="." IsChecked="{Binding Mode=TwoWay, Path=Disabled}" />
    </Grid>
</UserControl>
